/*
 * AboutDialog.java
 *
 * Created on 14 November 2006, 10:21
 */

package org.foment.gem.dialogs;

import java.awt.Component;
import java.beans.PropertyVetoException;
import org.foment.joliage3.core.logging.Logger;
import static org.foment.joliage3.core.logging.Logger.log;
import static org.foment.joliage3.core.internationalization.Internationalization.i18n;

/**
 *
 * @author  ivan
 */
public class AboutDialog extends GemInternalDialog {
  
  /** Creates new form AboutDialog */
  public AboutDialog() {
    initComponents();
  }
  
  /** This method is called from within the constructor to
   * initialize the form.
   * WARNING: Do NOT modify this code. The content of this method is
   * always regenerated by the Form Editor.
   */
  // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
  private void initComponents() {
    jLabel1 = new javax.swing.JLabel();
    lblAboutImage = new javax.swing.JLabel();

    jLabel1.setText("jLabel1");

    setClosable(true);
    setDefaultCloseOperation(javax.swing.WindowConstants.HIDE_ON_CLOSE);
    setTitle(i18n("About"));
    lblAboutImage.setIcon(new javax.swing.ImageIcon(getClass().getResource("/org/foment/gem/images/about.png")));
    lblAboutImage.setMaximumSize(new java.awt.Dimension(501, 306));
    lblAboutImage.setMinimumSize(new java.awt.Dimension(501, 306));
    lblAboutImage.addMouseListener(new java.awt.event.MouseAdapter() {
      public void mouseClicked(java.awt.event.MouseEvent evt) {
        lblAboutImageMouseClicked(evt);
      }
    });

    getContentPane().add(lblAboutImage, java.awt.BorderLayout.CENTER);

    pack();
  }// </editor-fold>//GEN-END:initComponents

  private void lblAboutImageMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_lblAboutImageMouseClicked
    //setVisible(false);
  }//GEN-LAST:event_lblAboutImageMouseClicked

  public Component getNavigatorComponent() {
    return null;
  }
  
  
  // Variables declaration - do not modify//GEN-BEGIN:variables
  private javax.swing.JLabel jLabel1;
  private javax.swing.JLabel lblAboutImage;
  // End of variables declaration//GEN-END:variables
  
}
